package com.azier.kapacitor.script.method;

import com.azier.kapacitor.script.arg.SingleQuotesArg;

import java.util.ArrayList;

/**
* 1 * @Author: luoj
* 2 * @Date: 2019/11/8 11:27
* 3
*/
public class StreamName extends AbstractMethod {
    private static final String name = "streamName";
    /**
    The name of this new joined data stream. If empty the name of the left parent is used.
    **/
    /**
    新加入的数据流的名称。如果为空，则使用左父级的名称。
    **/
    public StreamName(String join) {
        super(new ArrayList<>(), name);
        //
        this.args.add(new SingleQuotesArg(join));


    }
}
